package net.wanho.hospital.service;

import net.wanho.hospital.po.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import net.wanho.hospital.po.Orders;
import net.wanho.hospital.vo.DoctorVo;

import java.util.List;
import java.util.Map;

/**
 *  服务类
 *
 * @author 汤小洋
 * @since 2023-12-27
 */
public interface DoctorUserService extends IService<Doctor> {

   /**
    *   按查询分页查询
    */
    IPage<Doctor> findPage(int pageNum, int pageSize, Doctor doctor);

    DoctorVo login(int dId, String dPassword);

    Map<String, Object> findDoctorBySectionPage(int pageNum, int pageSize, String dName, String dSection, String arrangeDate);

    Doctor findDoctor(Integer dId);

    void updateStar(Integer dId, Integer dStar);
}
